<!DOCTYPE html>
<html>
<head>
  <title>Jack</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Tp5简易留言板</title>
  
  <link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css">  
  <script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
  <script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>
   
</head>
<body>
  <div  class="container">   
<h2><a href="{$Think.server.script_name}/index/bbs/show/">Tp5简易留言板</a></h2>
 
<p>支付宝在线支付</p>
<!-- http://localhost/alipay/alipayapi.php?WIDtotal_fee=0.05&WIDsubject=0&WIDout_trade_no=6&WIDbody=1&WIDshow_url=1 -->
{$Think.cookie.name}  // 输出$_COOKIE['name']变量
<form name=alipayment action=__ROOT__/alipay/alipayapi.php method=post target="_blank">


            <div id="body" style="clear:left;display: none">
                <dl class="content">
                    <dt>商户订单号：</dt>
                    <dd>
                        <span class="null-star">*</span>
                        <input size="30" name="WIDout_trade_no" />
                        <span>商户网站订单系统中唯一订单号，必填
</span>
                    </dd>
                    <dt>订单名称：</dt>
                    <dd>
                        <span class="null-star">*</span>
                        <input size="30" name="WIDsubject" />
                        <span>必填
</span>
                    </dd>
                    <dt>付款金额：</dt>
                    <dd>
                        <span class="null-star">*</span>
                        <input size="30" name="WIDtotal_fee" />
                        <span>必填
</span>
                    </dd>
                    <dt>订单描述
：</dt>
                    <dd>
                        <span class="null-star">*</span>
                        <input size="30" name="WIDbody" />
                        <span></span>
                    </dd>
                    <dt>商品展示地址：</dt>
                    <dd>
                        <span class="null-star">*</span>
                        <input size="30" name="WIDshow_url" />
                        <span>需以http://开头的完整路径，例如：http://www.商户网址.com/myorder.html
</span>
                    </dd>
          <dt></dt>
                    <dd>
                        <span class="new-btn-login-sp">
                            <button class="new-btn-login" type="submit" style="text-align:center;">确 认</button>
                        </span>
                    </dd>
                </dl>
            </div>
    </form>

<form name=alipayment action=__ROOT__/alipay/alipayapi.php method=post target="_blank">
  <div class="form-group">
    <label for="exampleInputEmail1">订单号</label>
    <input type="text" class="form-control" name="WIDout_trade_no" placeholder="订单号" value="20171109001">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">订单名称</label>
    <input type="text" class="form-control"  name="WIDsubject" placeholder="订单名称" value="精品002">
  </div>
  <div class="form-group">
    <label for="exampleInputFile">付款金额</label>
    <input type="text" name="WIDtotal_fee" class="form-control" placeholder="付款金额" value="0.01" >
  </div>
  <div class="form-group">
    <label for="exampleInputFile">订单描述</label>
    <input type="text" name="WIDbody" class="form-control" placeholder="订单描述"  value="">
  </div>
  <div class="form-group">
    <label for="exampleInputFile">商品地址</label>
    <input type="text" name="WIDshow_url" class="form-control" placeholder="订单描述"  value="">
  </div>


  <button type="submit" class="btn btn-default">提交订单</button>
</form>






<form  action="https://mapi.alipay.com/gateway.do?" method="GET" style="display: none;">


<div class="form-group" >
    <label for="exampleInputName2">参数编码字符集:</label>
    <input type="text" class="form-control"  name="_input_charset" value="UTF-8" >
     
 
  </div>
  <!-- A -->
  <!-- B -->
  <!-- C -->
  <!-- D -->
  <!-- E -->
  <!-- F -->
  <!-- F -->
  <!-- H -->
  <!-- I -->
  <!-- J -->
  <!-- K -->
  <!-- L -->
  <!-- M -->
  <!-- N -->
     <div class="form-group" >
    <label for="exampleInputName2">服务器异步通知页面路径:</label>
    <input type="text" class="form-control"   name="notify_url" value="http://open.gaoxueya.com/tp5/public/index/api/alipay" placeholder="订单号" maxlength="100">
 
  </div>
  <!-- O -->
      <div class="form-group" >
    <label for="exampleInputName2">商户网站唯一订单号:</label>
    <input type="text" class="form-control" id="out_trade_no" name="out_trade_no" value="20170101" placeholder="订单号" maxlength="100">
       
  </div>
  <!-- P -->
    <div class="form-group" >
    <label for="exampleInputName2">合作者身份ID:</label>
    <input type="text" class="form-control" id="partner" name="partner" value="2088002229990889">
 <div class="form-group" >
    <label for="exampleInputName2">交易类型:</label>
    <input type="text" class="form-control" id="payment_type" name="payment_type" value="1"  >
     
  </div>
     
  </div>
  <!-- Q -->
  <!-- R -->
    <div class="form-group" >
    <label for="exampleInputName2">页面跳转同步通知页面路径:</label>
    <input type="text" class="form-control" id="return_url" name="return_url" value="http://open.gaoxueya.com/tp5/public/index/api/alipay" placeholder="订单号" maxlength="100">
     
 
  </div>
  <!-- S -->
  <div class="form-group" >
    <label for="exampleInputName2">卖家支付宝用户号:</label>
    <input type="text" class="form-control"  name="seller_id" value="2088002229990889"  >
     
  </div>
  <div class="form-group" >
    <label for="exampleInputName2">接口名称:</label>
    <input type="text" class="form-control" id="service" name="service" value="create_direct_pay_by_user"  maxlength="100">
     
  </div>

    <div class="form-group" >
    <label for="exampleInputName2">商品名称:</label>
    <input type="text" class="form-control" id="subject" name="subject" value="贝尔金护腕式" placeholder="产品名称" maxlength="100">
  
  </div>
  <!-- T -->

    <div class="form-group" >
    <label for="exampleInputName2">支付金额:</label>
    <input type="text" class="form-control" id="total_fee" name="total_fee" value="15d50221baba368089874ba4bec2a2b00" >
     
  </div>

  <!-- U -->
  <!-- V -->
  <!-- W -->
  <!-- X -->
  <!-- Y -->
  <!-- Z -->


 
  


 
  

 
  
  <div class="form-group" >
    <label for="exampleInputName2">签名方式:</label>
    <input type="text" class="form-control" id="sign_type" name="sign_type" value="MD5" >
     
 
  </div>
   
   
    
    <div class="form-group" >
    <label for="exampleInputName2">签名:</label>
    <input type="text" class="form-control" id="sign" name="sign" value="xcy46hiwzgwba5oin1a6urnaezuj8vry" >
 
  <button type="submit" class="btn btn-primary" >开始支付</button>
</form>
 
     
 
  </div>

 
 </div>
 

  
 </body>
 </html>